package com.bootdo.lvyou.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import com.bootdo.common.annotation.NotColumn;
import com.bootdo.common.fansheutils.FansheUtils;
import com.bootdo.common.fansheutils.JibenLei;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.haojiangbo.annotation.HapiFeild;


/**
 * 轮播图表
 * 
 * @author lujingqian
 * @email 965858129@qq.com
 * @date 2019-10-10 13:45:17
 */
 @JsonInclude(JsonInclude.Include.NON_NULL)
public class LvyouCateImg extends JibenLei {
	@NotColumn
	private static final long serialVersionUID = 1L;
	
	
	//id
	 @NotColumn 	@HapiFeild("id")
	private Long id;
	
	//名字
		@HapiFeild("名字")
	private String name;
	
	//来源id
		@HapiFeild("来源id")
	private Long sourceId;
	
	//来源名字
		@HapiFeild("来源名字")
	private String sourceName;
	
	//图片地址
		@HapiFeild("图片地址")
	private String imgUrl;
	
	//是否显示
		@HapiFeild("是否显示")
	private Integer isShow;
	
	//来源标识
		@HapiFeild("来源标识")
	private String sourceLogo;
	
	//创建时间
		@HapiFeild("创建时间")
	private Date createTime;

   //排序
		@HapiFeild("排序")
	private int sort;

    public LvyouCateImg(){
    
    	this.createTime = new Date();
    }
	/**
	 * 获取：排序
	 */
	public int getSort() {
		return sort;
	}
	/**
	 * 设置：排序
	 */
	public void setSort(int sort) {
		this.sort = sort;
	}

	/**
	 * 设置：id
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：名字
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 获取：名字
	 */
	public String getName() {
		return name;
	}
	/**
	 * 设置：来源id
	 */
	public void setSourceId(Long sourceId) {
		this.sourceId = sourceId;
	}
	/**
	 * 获取：来源id
	 */
	public Long getSourceId() {
		return sourceId;
	}
	/**
	 * 设置：来源名字
	 */
	public void setSourceName(String sourceName) {
		this.sourceName = sourceName;
	}
	/**
	 * 获取：来源名字
	 */
	public String getSourceName() {
		return sourceName;
	}
	/**
	 * 设置：图片地址
	 */
	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}
	/**
	 * 获取：图片地址
	 */
	public String getImgUrl() {
		return imgUrl;
	}
	/**
	 * 设置：是否显示
	 */
	public void setIsShow(Integer isShow) {
		this.isShow = isShow;
	}
	/**
	 * 获取：是否显示
	 */
	public Integer getIsShow() {
		return isShow;
	}
	/**
	 * 设置：来源标识
	 */
	public void setSourceLogo(String sourceLogo) {
		this.sourceLogo = sourceLogo;
	}
	/**
	 * 获取：来源标识
	 */
	public String getSourceLogo() {
		return sourceLogo;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}


	@Override
	@JsonIgnore
	public List<HashMap<String, Object>> getFields() {
		// TODO Auto-generated method stub
		return FansheUtils.getFieldList(this);
	}


}
